(function($,root){

	function addsongtolist(data){
		var str = "";
		for (var i = 0; i < data.length; i++) {
			(function(j){
				str += '<div class="listUI-song" id="'+ j +'"">'+
							'<div class="listUI-songname">'+data[j].song+'</div>'+
							'<div class="listUI-singname">-'+data[j].singer+'</div>'+
						'</div>';
			})(i)
		}
		$(".listUI").html(str);
		
	}
	
	root.addsongtolist = addsongtolist;
})(window.Zepto,window.player || {})